Home:ALL Converter>iam trying to import gensim library on ubuntu but i got following errorTraceback (most recent call last):

iam trying to import gensim library on ubuntu but i got following errorTraceback (most recent call last):

Ask Time:2022-03-14T02:33:48         Author:Hashim Safder

Json Formatter

i am trying to run gensim library in python code for data ranking. but i got this error on ubuntu system.

Traceback (most recent call last):
  File "Rank article.py", line 48, in 
    import gensim.downloader as api
  File "/home/rreck/.local/lib/python3.8/site-packages/gensim/_init_.py", line 5, in 
    from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils  # noqa:F401
  File "/home/rreck/.local/lib/python3.8/site-packages/gensim/corpora/_init_.py", line 6, in 
    from .indexedcorpus import IndexedCorpus  # noqa:F401 must appear before the other classes

Author:Hashim Safder,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71459691/iam-trying-to-import-gensim-library-on-ubuntu-but-i-got-following-errortraceback
yy